package model;

import view.MediaFormatTypeEnum;

public class MediaProperty implements Comparable{
	public String displayName;
	public String name;
	public boolean searchable;
	public boolean sortable;
	public boolean editable;
	public boolean visible;
	public boolean defaultShown;
	public MediaFormatTypeEnum formatType;
	
	public MediaProperty(String displayName, String name,boolean sortable, boolean searchable, boolean editable, 
			boolean visible, boolean defaultVisible, MediaFormatTypeEnum formatType){
		this.displayName = displayName;
		this.name = name;
		this.sortable = sortable;
		this.searchable = searchable;
		this.editable = editable;
		this.visible = visible;
		this.formatType = formatType;
		this.defaultShown = defaultVisible;
	}

	@Override
	public int compareTo(Object o) {
		if(this==o){
			return 0;
		}
		return 1;
	}
	
}
